<?php /* Smarty version 2.6.26, created on 2018-07-26 00:29:52
         compiled from D:%5Citemstudy%5Citem/member%5Ctemplates/express/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'import', 'D:\\itemstudy\\item/member\\templates/express/index.html', 1, false),)), $this); ?>
<?php echo $this->_plugins['function']['import'][0][0]->import(array('file' => "index/header_shop.html",'title' => "快递列表"), $this);?>
  
<div class="tab_name"><span>运费管理</span></div>
<div class="actbtn">
	<a href="?m=express&a=edit" class="add">添加模板</a>
</div>
<div class="lbox"> 
	<table class="ltable">
		<thead>
			<tr>
				<th width="120">消费额度</th>
				<th>运费</th> 
				<th width="120">操作</th>
				<th width="120">添加时间</th>
			</tr>
		</thead>
		<tbody> 
	<?php if ($this->_tpl_vars['data']): ?>	
		<?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>		
			<tr>
				<td><?php echo $this->_tpl_vars['i']['name']; ?>
</td>
				<td><?php echo $this->_tpl_vars['i']['price']; ?>
</td> 
				<td>
					<a href="?m=express&a=edit&id=<?php echo $this->_tpl_vars['i']['id']; ?>
" class="edit">管理</a>
					<a href="?m=express&a=del&id=<?php echo $this->_tpl_vars['i']['id']; ?>
" class="del">删除</a>
				</td>
				<td><?php echo $this->_tpl_vars['i']['addtime']; ?>
</td>
			</tr> 
		<?php endforeach; endif; unset($_from); ?>
	<?php else: ?> 
			<tr><td colspan="4"><div class="nomsg"><i></i><span>无设置运费，默认为包邮~</span></div></td></tr>
	<?php endif; ?>		
		</tbody>
	</table> 
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 